using System;
using System.Collections;

namespace Sedna.Core.Controller.Configurations
{
	/// <summary>
	/// Configuration for PopupButton.
	/// </summary>
	public interface IPopupButtonConfiguration: IConfiguration, IClientScriptingConfiguration, IEnterTypeConfiguration
	{

		bool PostBackOnSelect
		{
			get;
		}

		string PopupBase
		{
			get;
		}

		string PopupPage
		{
			get;
		}

		int PopupWidth
		{
			get;
		}

		int PopupHeight
		{
			get;
		}

		string PopupParameters
		{
			get;
		}
/*
		/// <summary>
		/// ClientVariable of control (or controls), that should pass its value to popup window.
		/// If more than one control used, divide ClientVariables with comma.
		/// </summary>
		string ParameterControlVariable
		{
			get;
		}
*/
		/// <summary>
		/// Control, that should be populated with results returned by popup window.
		/// </summary>
/*
		string RelatedControlVariable
		{
			get;
		}
*/

		IDictionary DisplayControls
		{
			get;
		}

		/// <summary>
		/// ClientVariables of controls, that should pass its value to popup window.
		/// Keys are parameter names, values are ClientVariables
		/// </summary>
		IDictionary ParameterControls
		{
			get;
		}

		bool HookupParameterControlsEvents
		{
			get;
		}

        IList ValueKeys
        {
            get;
        }
	}

}
